package com.wing.warehouse.service;

import com.wing.common.utils.JsonResult;
import com.wing.warehouse.entity.request.WarehouseCreateRequest;
import com.wing.warehouse.entity.response.WarehouseQueryResponse;

import java.util.List;

/**
 * 仓库管理
 */
public interface WarehouseService {

    /**
     * 创建仓库
     *
     * @param warehouseCreateRequest
     * @return
     */
    JsonResult warehouseCreate(WarehouseCreateRequest warehouseCreateRequest);

    /**
     * 仓库查询
     *
     * @return
     */
    List<WarehouseQueryResponse> warehouseQuery();

}
